<?php
/*
# $Id$
*/

// Setup the Buan environment
require('Buan.php');
Core::configure(dirname(__FILE__).'/config');

// Create and run test suite
$suite = new TestSuite();
$suite->addScriptsFolder(dirname(__FILE__).'/tests');
$suite->start();

// Exit with correct code
exit($suite->hasFailures() ? 1 : 0);
?>